<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style type="text/css">
    .box1,
    .box2,
    .box3 {
        width: 200px;
        height: 200px;
        padding: 25px;
        border: 10px solid green;
        margin: 100px;
        background: pink;
    }
    /* 标准状态 */
    .box2 {
        box-sizing: content-box;
    }
    /* 怪异状态 */
    .box3 {
        box-sizing: border-box;
    }
    </style>
</head>
<body>
    <div class="box1">标准盒模型</div>
    <div class="box2">标准盒模型</div>
    <div class="box3">IE盒模型</div>
</body>
</html>